﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace t_205_verk_hopur_12.Models
{
    public class ChannelEmployeesViewModel
    {
        public Channel Channel { get; set; }
        public IEnumerable<User> Employees { get; set; }
        public bool HasAppliedToChannel { get; set; }
        public bool IsOwnerOrEmployee { get; set; }
        public bool IsOwner { get; set; }

        public ChannelEmployeesViewModel()
        {
            // Intentionally empty
        }

        public ChannelEmployeesViewModel(Channel ch, IEnumerable<User> emp, bool argHasAppliedToChannel, bool argisOwnerOrEmployee, bool argIsOwner)
        {
            Channel = ch;
            Employees = emp;
            HasAppliedToChannel = argHasAppliedToChannel;
            IsOwnerOrEmployee = argisOwnerOrEmployee;
            IsOwner = argIsOwner;
        }
    }
}